#ifndef MAINWINDOWACCOUNT_H
#define MAINWINDOWACCOUNT_H

#include <QMainWindow>
#include <QTcpSocket>
#include <QHostAddress>
#include <QDebug>
#include <QMap>
#include <QMessageBox>

#include "mainwindowhomepage.h"
#include "mainwindow.h"

//外部声明tcp套接字
extern QTcpSocket *tcpSocket;

namespace Ui {
class MainWindowAccount;
}

class MainWindowAccount : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindowAccount(QWidget *parent = nullptr);
    ~MainWindowAccount();

private slots:
    void on_btn_back_clicked();

    void on_btn_login_clicked();

    void on_btn_register_clicked();

    void onRecvDataSlot();

private:
    Ui::MainWindowAccount *ui;
};

#endif // MAINWINDOWACCOUNT_H
